﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DAL;
using Model;

namespace BLL
{
    public class ClientManage
    {
        public static Client AddClient(Client client)
        {
            return ClientService.AddClient(client);
        }

        public static int GetPersonalInformationIdById(int id)
        {
            return ClientService.GetPersonalInformationIdById(id);
        }

        public static bool HasId(int userId)
        {
            if (ClientService.GetClientById(userId) != null)
                return true;
            else
                return false;
        }
    }
}
